package cn.com.surker.production.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 驾驶员排队信息表
 * </p>
 *
 * @author admin
 * @since 2022-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProDriverLine implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 标识
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 电话
     */
    private String phone;

    /**
     * 车辆自编号
     */
    private String code;

    /**
     * 车牌号
     */
    private String carNo;

    /**
     * appid
     */
    private String appid;

    /**
     * openid
     */
    private String openid;

    /**
     * 公司ID
     */
    private Long orgId;

    /**
     * 公司名称
     */
    private String orgName;

    /**
     * 生产线
     */
    private String line;

    /**
     * 状态
     */
    private Integer status;


    /**
     * 预约电话任务ID
     */
    private String taskId;

    /**
     * 是佛拨打语音电话
     */
    private Integer isPhone;

    /**
     * 类型(0:上线，1：待命)
     */
    private Integer type;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    public ProDriverLine(){}
    public ProDriverLine(String name, String phone, String code, String carNo, String appid, String openid, Long orgId, String orgName, String line, Integer status, String taskId, Integer isPhone, Integer type, String remark, Date createTime) {
        this.name = name;
        this.phone = phone;
        this.code = code;
        this.carNo = carNo;
        this.appid = appid;
        this.openid = openid;
        this.orgId = orgId;
        this.orgName = orgName;
        this.line = line;
        this.status = status;
        this.taskId = taskId;
        this.isPhone = isPhone;
        this.type = type;
        this.remark = remark;
        this.createTime = createTime;
    }
}
